home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / gfx / x11 / x3270_3_2_16.lha / amiga_src / telnetc.h < prev    next >
C/C++ Source or Header  |  2008-05-26  |  2KB  |  47 lines

  1. /*
  2.  * Copyright 1995, 1999, 2000 by Paul Mattes.
  3.  *  Permission to use, copy, modify, and distribute this software and its
  4.  *  documentation for any purpose and without fee is hereby granted,
  5.  *  provided that the above copyright notice appear in all copies and that
  6.  *  both that copyright notice and this permission notice appear in
  7.  *  supporting documentation.
  8.  */
  9.  
  10. /*
  11.  *    telnetc.h
  12.  *        Global declarations for telnet.c.
  13.  */
  14.  
  15. /* Output buffer. */
  16. extern unsigned char *obuf, *obptr;
  17.  
  18. /* Spelled-out tty control character. */
  19. struct ctl_char {
  20.     const char *name;
  21.     char value[3];
  22. };
  23.  
  24. extern void net_abort(void);
  25. extern Boolean net_add_dummy_tn3270e(void);
  26. extern void net_add_eor(unsigned char *buf, int len);
  27. extern void net_break(void);
  28. extern void net_charmode(void);
  29. extern int net_connect(const char *, char *, Boolean, Boolean *);
  30. extern void net_disconnect(void);
  31. extern void net_exception(void);
  32. extern void net_hexansi_out(unsigned char *buf, int len);
  33. extern void net_input(void);
  34. extern void net_interrupt(void);
  35. extern void net_linemode(void);
  36. extern struct ctl_char *net_linemode_chars(void);
  37. extern void net_output(void);
  38. extern void net_sendc(char c);
  39. extern void net_sends(const char *s);
  40. extern void net_send_erase(void);
  41. extern void net_send_kill(void);
  42. extern void net_send_werase(void);
  43. extern Boolean net_snap_options(void);
  44. extern void space3270out(int n);
  45. extern const char *tn3270e_current_opts(void);
  46. extern void trace_netdata(char direction, unsigned const char *buf, int len);
  47.